package com.xiang.springboot.demo.mybatis.injector;

import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.injector.AbstractSqlInjector;
import com.baomidou.mybatisplus.extension.injector.methods.*;
import com.xiang.springboot.demo.mybatis.injector.methods.SQLAnnotation;

import java.util.List;
import java.util.stream.Stream;

import static java.util.stream.Collectors.toList;

/**
 * Created by admin on 2019/3/20.
 */
public class TestSQLInjector extends AbstractSqlInjector {
    @Override
    public List<AbstractMethod> getMethodList() {
        return Stream.of(
                new SQLAnnotation()
        ).collect(toList());
    }
}
